using System;
using N2.Collections;
using FlexiCommerce.Web.Templates.Items;

namespace FlexiCommerce.Web.Templates.UI.Views
{
    public partial class ImageGallery : Web.UI.TemplatePage<Templates.Items.ImageGallery>
    {
		protected override void OnInit(EventArgs e)
		{
			base.OnInit(e);

            N2.Resources.Register.JQuery(this);
			rptImages.DataSource = CurrentPage.GetChildren(new AccessFilter(), new TypeFilter(typeof (GalleryItem)));
			rptImages.DataBind();
		}
    }
}